You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clValue Structure > clValue Methods > clValue.ImagPart Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
clValue.ImagPart Method

Gets the imaginary part of a complex object.

Syntax
C#
Visual Basic
public TOpenCLValue ImagPart([In] TOpenCLValue Vec);

Gets the imaginary part of a complex object Vec and stores the real result in the calling object. FloatPrecision and Complex properties of the calling object are set implicitly to match Vec object. Vec Complex must be true otherwise an exception will be raised.

var a,b: clValue; begin b.Copy(Cplx(8)); a.ImagPart(b); // a = 0 end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!